import 'package:flutter/material.dart';
import 'package:leader_help/utils/util.dart';
import 'classic.dart';
import 'user.dart';
import 'package:get/get.dart';

import '../index.dart';

/// hello
class HomeHeader extends GetView<HomeController> {
  const HomeHeader({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Stack(
      children: [
        Container(
          height: 190.r,
          width: SizeFit.screenWidth,
          decoration: BoxDecoration(
              color: ColorsUtil.red,
              borderRadius: BorderRadius.vertical(
                  bottom: Radius.elliptical(300.r, 30.r))),
        ),
        Column(
          children: [
            HomeInfoView(),
            const HomeClassicView(),
          ],
        )
      ],
    );
  }
}
